﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WebBasic.aspx.cs" Inherits="admin_Basic_WebBasic" %>

<%@ Register Src="../../Control/Upfile.ascx" TagName="Upfile" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>基本设置</title>
    <link rel="stylesheet" href="../skin/style.css" type="text/css" />
    <style type="text/css">
<!--
.STYLE1 {font-weight: bold}
-->
</style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="itemtitle">
            <h3>
                快捷选项</h3>
        </div>
        <div class="itemtitle_tect">
            <p>
                <span class="STYLE1"><a href="WebBasic.aspx">基本信息</a>&nbsp;&nbsp;<a href="TradeSettings.aspx">商机设置</a>&nbsp;&nbsp;<a
                    href="SetupUpload.aspx">附件设置</a>&nbsp;&nbsp;<a href="WebInfo.aspx">邮件设置</a>&nbsp;&nbsp;<a
                        href="FilterKeyword.aspx">安全设置</a>&nbsp;&nbsp;<a href="Registr.aspx">注册表单</a></span></p>
        </div>
        <div class="clr">
        </div>
        <div class="talbe_border">
            <asp:Label ID="lblMessage" runat="server" Visible="False" ForeColor="Red"></asp:Label>
            <table border="0" cellpadding="0" cellspacing="0" class="talbe_list">
                <tr>
                    <th colspan="2" class="header tou">
                        基本设置</th>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        网站名称</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtWebName" runat="server" CssClass="textb" Width="450px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        网站网址</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtWebUrl" runat="server" CssClass="textb" Width="450px"></asp:TextBox>
                    </td>
                </tr>
<%--                <tr>
                    <td width="16%" class="left1">
                        网站后台管理目录
                    </td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtCatalog" runat="server" Width="450px"></asp:TextBox>
                    </td>
                </tr>--%>
                <tr>
                    <td width="16%" class="left1">
                        网站Logo</td>
                    <td width="84%">
                        <div style="float: left" id="DIV1">
                            <asp:HiddenField ID="HiddUserID" runat="server" />
                            <asp:HiddenField ID="ImgUrl1" runat="server" />
                            <a href="" id="txturldz" target="_blank">
                                <img src="../../Images/System/wutu1.gif" alt="" name="ImgUrl" border="0" id="ImgUrl"
                                    runat="server" /></a><br />
                            <input id="txtupload" type="button" value="上传" onclick="return rowTest()" /><br />
                            <div id="rowTest" style="display: none">
                                <iframe name="tag" src="../UpFile/Upload.html?NOWATER" style="width: 550px; height: 135px"
                                    frameborder="0" scrolling="no" onload="this.height=tag.document.body.scrollHeight">
                                </iframe>
                            </div>
                            <div id="Upload">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr id="Tr3"  runat="server">
                    <td width="16%" class="left1">
                        伪静态设置</td>
                    <td width="84%" class="left2">
                        <asp:DropDownList runat="server" ID="drpRewrite">
                            <asp:ListItem Value=".aspx" Text=".aspx" Selected="True"></asp:ListItem>
                            <asp:ListItem Value=".html" Text=".html"></asp:ListItem>
                            <asp:ListItem Value=".shtml" Text=".shtml"></asp:ListItem>
                            <asp:ListItem Value=".htm" Text=".htm"></asp:ListItem>
                            <asp:ListItem Value=".shtm" Text=".shtm"></asp:ListItem>
                        </asp:DropDownList><asp:Label Text="如果选择.aspx则不使用伪静态" ID="lab" runat="server"></asp:Label></td>
                </tr>
                <tr id="Tr1" visible="false" runat="server">
                    <td width="16%" class="left1">
                        是否整合网商博客</td>
                    <td width="84%" class="left2">
                        <asp:RadioButtonList ID="radlisBlog" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="True">是</asp:ListItem>
                            <asp:ListItem Selected="True" Value="False">否</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
<%--                <tr>
                    <td width="16%" class="left1">
                        开启二级域名
                    </td>
                    <td width="84%" class="left2">
                        <asp:RadioButtonList ID="radlisSecondUrl" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="True">是</asp:ListItem>
                            <asp:ListItem Selected="True" Value="False">否</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>--%>
                <tr id="Tr2" visible="false" runat="server">
                    <td width="16%" class="left1">
                        是否整合论坛</td>
                    <td width="84%" class="left2">
                        <asp:RadioButtonList ID="radlisForum" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="True">是</asp:ListItem>
                            <asp:ListItem Selected="True" Value="False">否</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        网站版权</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtCopyright" runat="server" Height="59px" CssClass="textb" TextMode="MultiLine"
                            Width="450px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        网站备案号</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtRecord" runat="server" CssClass="textb" Width="450px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        网站当前状态</td>
                    <td width="84%" class="left2">
                        <asp:RadioButtonList ID="radlState" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Selected="True" Value="1">正常运行</asp:ListItem>
                            <asp:ListItem Value="0">网站关闭</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        维护说明</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtStopReadme" runat="server" CssClass="textb" Height="100px" TextMode="MultiLine"
                            Width="450px"></asp:TextBox>
                    </td>
                </tr>
                <%--公司信息--%>
                <tr>
                    <td colspan="2" align="center" bgcolor="#fefcf4">
                        <strong>公司信息</strong>
                    </td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        公司名称</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtCorporationName" runat="server" CssClass="textb" Width="300px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        服务电话</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtSystemTel" runat="server" CssClass="textb" Width="300px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        热线电话</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtHotTel" runat="server" CssClass="textb" Width="300px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        传真</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtFaxTel" runat="server" CssClass="textb" Width="300px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        公司地址</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtAddress" runat="server" CssClass="textb" Width="300px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        邮政编码</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtPostalCode" runat="server" CssClass="textb" Width="300px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        银行账号</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtBankAccount" runat="server" CssClass="textb" Width="300px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        银行名称</td>
                    <td width="84%" class="left2">
                        <asp:TextBox ID="txtBankName" runat="server" CssClass="textb" Width="300px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2" align="center" bgcolor="#fefcf4">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" CssClass="i_button" />
                    </td>
                </tr>
            </table>
        </div>
    </form>

    <script type="text/javascript" src="../../js/Common.js"></script>

</body>
</html>
